ArcGIS API for WPF - Library Reference
FromGraphics(IEnumerable<Graphic>,IRenderer) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > GraphicsLayer Class > FromGraphics Method : FromGraphics(IEnumerable<Graphic>,IRenderer) Method

graphics
A collection of graphics.
renderer
The renderer used to render the features.
Create a graphics layer from a collection of graphics.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function FromGraphics( _
   ByVal graphics As IEnumerable(Of Graphic), _
   ByVal renderer As IRenderer _
) As GraphicsLayer
C# 
public static GraphicsLayer FromGraphics( 
   IEnumerable<Graphic> graphics,
   IRenderer renderer
)

Parameters

graphics
A collection of graphics.
renderer
The renderer used to render the features.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.